Compact Tool: DSH Context Compression Configuration and Real-Time Monitoring
Compact Tool provides a settings page, per-model overrides, and a real-time context usage ring for DeepSeek Harness's compaction-basic, making context compression trigger points and retention strategies easier to fine-tune.
Read Moredsh-metabolism: Pre-Compression Archiving of Originals to the Local "Outhouse"
dsh-metabolism is DSH's memory plugin. Before compression, it stashes the original text in a local "outhouse," retains a 950–1300-word narrative summary, and provides keyword- or date-based recall, content-hash tagging, relationship-history timeline extraction, and cosine-gated passive hydration. The original is always there—details can be pulled back anytime.
Read MoreContext Compression Metering: Incorporating Compression Information into the DSH Usage Window
The DeepSeek Harness plugin dsh-context-compaction-meter overlays the compaction line and compaction count/threshold onto the existing usage window, estimates trigger points based on model capacity and strategy, and visualizes the proximity to the compaction line through color-coded gradation.
Read Moredsh-compaction-owner: DSH 0.2.x Single-Owner Compaction Scheduling
dsh-compaction-owner is the compaction scheduling layer for DSH 0.2.x (v0.2.23, MIT). A single owner exclusively controls ctx.compaction: before each round it first performs a zero-cost trim of stale tool results, then selects between Live-Compact mechanical slicing and billion-context wire semantic folding based on pressure. Deleted content is retained as shadow and remains recallable. The article introduces the three-tier model, configuration and plugin_manager packaging and installation, compaction_recall and the GUI ledger, and also clarifies the boundary with billion along with applicable caveats.
Read Moredsh-inherit-compression: Long-Session Anchor Compression and Memory Inheritance
Introduces dsh-inherit-compression, a DSH plugin maintained by astsbba. It anchors on assistant messages, compresses the conversation after the anchor into memory while retracting the original text in place, and—combined with recent-conversation injection and jumping back to the anchor—preserves persona and context continuity within the same session. The article also covers configuration options, the data directory at ~/.dsh/inherit-compression/, DSH 0.2.3 compatibility, the MIT license, and how to verify a correct installation.
Read MoreContext Compression: Structured Summarization and Handoff for Long Sessions
The SkillHub skill "Context Compression," published by Kunlun Growth, is designed for long conversations to perform structured summarization, compression, and handoff while preserving key decisions, files, risks, and next steps. Based on the official page and metadata, this article covers the skill's positioning and capabilities, the SkillHub CLI installation command, the skills directory configuration for agents such as Cursor, and its applicable scenarios. For usage details not provided in public materials, refer to SKILL.md.
Read Moredsh-compact-control: Adjusting the DSH Automatic Context Compression Trigger Threshold
dsh-compact-control (Auto-Compression Threshold) is a DSH workflow plugin maintained by zdjmrq. It leverages native context compression and solely adjusts the occupancy percentage that triggers automatic compression. The default threshold is 80%, configurable via a slider on the detail page, with arrow keys providing 1% increments for fine-tuning. To install, run `dsh plugin --profile desktop add dsh-compact-control`; a DSH restart is required afterward. The plugin is compatible with version 0.2.2-rc.1 and above, and has been verified against rc.1 and rc.2. The compression engine and presets remain managed by DSH itself, making this plugin ideal for developers who want to customize the "how full before compression" threshold during long conversations.
Read Moredsh-session-durability: Quantifying Long-Session Wear with a Single "Pill"
dsh-session-durability is a DeepSeek Harness community plugin that displays a 5–100 session durability score as a pill indicator in the Composer dock, derived from context usage, compaction count (displayed), conversation degradation, and history length. The Host folds compaction events in session logs and projects them to the Client with no build step required. Ideal for predicting when to start a fresh session before extended coding tasks. Install via the Plugins page or plugin_manager's install_bundle; after installation, switch sessions once to receive the new projection.
Read Moredsh-compaction-vcc: A DSH Compaction Engine That Replaces LLM Summarization with Verbatim Passthrough
dsh-compaction-vcc is a drop-in replacement for @deepseek-ai/dsh-compaction-basic on the DeepSeek Harness platform: during the compaction phase it makes no LLM calls, performing only deterministic compilation of persistent session logs. Omitted sections retain (seq N) pointers that can be retrieved verbatim via recall/search. The article explains its advantages over LLM-based summarization, the structure of the compiled output, the recall closed-loop, and the distinction between alias installation and bundle installation (when attaching an agent preset, you must avoid silently falling back to the official summarization pipeline). It also includes excerpts of key configurations such as thresholdRatio and checkpointCap, along with notes on the MIT license, runtime permissions, and other considerations.
Read Moredsh-compaction-policy-engine: Hierarchical, Hot-Loadable Context Compaction Policies for DSH
Introduces dsh-compaction-policy-engine (@magic6/dsh-compaction-policy-engine), a DSH plugin maintained by T-splines. Built on top of the official dsh-compaction-basic, it provides a three-tier policy hierarchy (models/providers/default), field-level inheritance, dual-unit support (ratio and tokens), hot reloading of settings.yaml, and a Compaction Policy settings panel. The article covers the differences from modelPolicies, the npm installation command, mounting considerations for headless and web planes, and includes typical compaction-control configuration examples along with applicable use cases.
Read Moredsh-context-cap: Trigger Compression Earlier in Long Conversations with a Tunable Context Cap
dsh-context-cap is a DSH community plugin that provides 32k–1M context limit capsules in the session input area. By rewriting the contextWindow of the routing model via settings.mutate, it causes proportion-based compression points (such as those in dsh-compaction-basic) to trigger earlier. The article covers the write path, Remote invocation methods, typical operational steps, and boundary conditions—including per-model sharing, dependency on the compression chain, and the fact that it does not intercept oversized pastes. For installation commands, refer to the official documentation; before enabling, please review the source code and MIT license.
Read Moredsh-refuse-compaction: Handing the Timing of DSH Automatic Context Compaction Back to Developers
dsh-refuse-compaction, maintained by mizuki5101, is built for the DSH desktop profile. It wraps the compaction engine at the preset scope, intercepting automatic compaction paths such as agent pressure, model switching, and tier-policy-governed overflow recovery; manual /compact is unaffected. Four levels are provided: disabled, temporary refusal, manual confirmation, and prohibition. The in-session occupancy meter reads the dsh-compaction-policy live configuration to compute compaction points, and it can coordinate with dsh-exa-distill to defer pressure-driven compaction during the "distillation pending flush" window. Installation is fully manual: extract the tgz, patch package.json and cordis.patch, then restart dsh. Best suited for long-running tasks on local small-context-window models. The plugin runs with dsh process privileges—review the MIT-licensed source before installing.
Read Moredsh-auto-relay: Automatic Session Relay When Context Nears Its Limit
dsh-auto-relay is a DSH workflow plugin (v0.6.0, MIT) maintained by LXinH3RT. When a conversation repeatedly undergoes context compression as it approaches the context limit, and the occupancy percentage at the start of each compression meets a configured threshold for a specified number of consecutive occurrences, the plugin automatically creates a new session with a clean context to continue the task. It supports incremental suffix numbering on session titles, default prompt placeholders, optional persistent counters, and browser-side switching and archiving of previous sessions. To install, run `dsh plugin add git+https://github.com/LXinH3RT/dsh-auto-relay.git`; settings such as `thresholdPercent` and `consecutiveCount` can be adjusted under Settings → Plugins. Before installing, review the source code and license, as the plugin accesses local session data with the permissions of the current DSH process.
Read Morecaopazi-compact: Auto-Compress and Mechanically Anchor Key Conversations at 70% Context
caopazi-compact is a memory-type community plugin for DSHM. It reuses the native compaction-basic module and triggers automatic compaction when the context window reaches 70%. After summarization, it mechanically appends the first task, hard constraints, path commands, and pending items via augment. Installation requires copying the plugin to the profile, adding it to bundles in order, and then restarting. It provides /compact-status and a fallback mechanism. MIT license, version 0.1.0.
Read Moredsh-compaction-control: Tightening DeepSeek Harness Context Compression in a Single Panel
dsh-compaction-control, maintained by ElioFanyu, consolidates DeepSeek Harness's automatic context compression controls—including trigger thresholds, tail retention, the auto-compaction toggle, the model-callable compact_now action, idle handoff, and an optional zero-token deterministic summarizer—into a single Settings → Compaction panel. Install it via plugin_manager install_bundle; after clicking Save, the configuration is written to cordis.patch.yml and applied to the dsh-compaction-basic engine mounted on each preset. Compatible with DSH 0.2.2-rc.2 / 0.2.2-rc.3. Licensed under MIT.
Read Moredsh-mimo-context: Implementing MiMo Code-Style Infinite Context in DSH
dsh-mimo-context, maintained by dunxuan, ports MiMo Code's checkpoint mechanism, watermark writer, and rebuild-context window replacement to DeepSeek Harness 0.2.2-rc.1. The plugin writes checkpoints and MEMORY entries in a staged manner prior to native compaction, using full-window dumps to retain tasks, unreplied messages, and project/global memory. Upon failure, it falls back to MiMo's five-segment compression. The article covers installation commands, cordis configuration, memory directory layout, and /mimo-* commands and tools, while also discussing applicable scenarios and safety considerations.
Read Moredsh-zh-force: Pin Simplified Chinese for DSH and Preserve the Original Text After Compression
dsh-zh-force provides four toggleable capabilities for DeepSeek Harness: system prompt enforcement of Simplified Chinese (including reasoning), autonomous compact_context compression, automatic /compact queuing based on context usage ratio, and exporting compressed session originals to ~/.dsh/压缩档案 with a generated compaction_archive_toc index. Ideal for long-session Chinese agent development and post-compression traceability of original text. Install with `dsh plugin add dsh-zh-force`. Requires DSH 0.2.x. MIT licensed.
Read Moredsh-session-compaction: Visualizing Context Usage and Proactively Triggering Compaction in the Harness Web UI
wisyh/dsh-session-compaction provides a floating pressure ball for the DeepSeek Harness Web UI. It displays real-time context occupancy via contextPressure projection with a blue–amber–red color scheme, supports custom thresholds from 30% to 80%, and invokes /compact at the end of a turn without interrupting an in-progress Agent. It reuses the compaction logic from compaction-basic, persisting settings and position in localStorage. Installation requires a git clone followed by dsh plugin add pointing to the local directory. Verified on the built-in Harness in Desktop as of November 2026.
Read Moredsh-compaction-manager: Tucking Context Compaction into a Single Panel
dsh-compaction-manager is a DSH client plugin maintained by RickT34 that introduces orchestrable local compaction steps—such as trimming, output elision, deduplication, and call folding—before the official LLM summarization. It supports presets, in-session preview, and restore_context recovery. When unconfigured, it behaves identically to the official default. Installation requires DSH >=0.2.2-rc.1 <0.3.0. Command: dsh plugin --profile web add dsh-compaction-manager.
Read Moredsh-compaction-tunable: Tunable Trigger Point for Automatic Context Compaction in DSH
CodeMody maintains the DSH plugin bundle @codemody/dsh-compaction-tunable, targeting DSH 0.2.2-rc.3. Under the Plugins section, it provides an Auto-compaction trigger settings page that allows configuring the auto-compaction threshold by token count or window ratio, and re-declares the compaction engines for the four presets: standard, ptc, minimal, and cordis. The article explains why directly patching compaction-basic is ineffective, covers the installation command, how changes take effect in new sessions after saving, and the clamping behavior tied to maxTokens. It also notes that the bundle must be updated in sync whenever DSH is upgraded.
Read Moredsh-context-compression-panel: Adjusting Context Compression Parameters Within a Conversation
dsh-context-compression-panel is a DSH plugin maintained by Chen199545 that provides a quick-access capsule panel beside the chat input box. It allows users to configure a compression trigger threshold (10%–95%), a history retention ratio, and an auto-compression toggle. Settings are written into the official compaction-basic module and leverage the native compression engine. To install, run `pnpm install` and `pnpm build` locally, then add the absolute path to `cordis.patch.yml` under the `patches` section of your DSH profile and restart. During use, you can click the capsule to adjust parameters or invoke `/visual-compact` for manual compression. The project explicitly declares no background data uploads. It is ideal for developers who frequently fine-tune compression strategies during extended conversations. Please review the source code and the MIT license before installing.
Read MoreDSH Compaction Weave: Preserving Requirements and Progress in Long Conversations
DSH Compaction Weave is a DSH memory-type plugin maintained by NightFrost42, designed for incremental compression of long conversations. It preserves stable prefixes to facilitate cache reuse, independently tracks still-active requirements and task progress, and archives original messages for retrieval via `history_search` and `history_read`. It supports automatic compression as the token threshold approaches, manual triggering via `/compact` and `context_compact`, and retry on failure. Compatible with DSH 0.2.2-rc.1 and Node.js 24.9+, it can be installed either through a Release package or by specifying a tgz URL with `dsh plugin add`.
Read Moredsh-session-fold: Deterministic Folding of Excessively Long Tool Outputs at Step Boundaries
dsh-session-fold is a DSH workflow plugin maintained by kennethfan. Before each step begins, it collapses earlier ultra-long tool/result messages into head-and-tail stubs and writes the full original content into ctx.spillStore. It performs no LLM calls and complements dsh-compaction-basic. Supported features include auto-folding, /fold, /unfold, session_fold_recall, and /spill-prune. Configuration can be adjusted via the graphical UI or cordis.patch.yml. Install it using the official release bundle with `plugin_manager install_bundle`.
Read Moredsh-compaction-selective: User-Specified Range Compaction of DSH Dialogue Turns
DSH's built-in compaction folds the oldest spans; /compact with no arguments triggers this by default. The community plugin dsh-compaction-selective lets users specify completed turn ranges. Upon confirmation via a card, the selected range is folded into a fold-style summary that replaces the visible surface, while the original log is retained. It supports conversation tool paths, panels, and the + menu. The CLI can support idle-state range specification via a patch; this path is not available on desktop. Configuration is located at ~/.dsh/compaction-selective.json. Compatible with DSH 0.2.0–0.2.2, MIT-licensed, and installed into the profile via the link method.
Read Moredsh-compaction-tower: Hierarchical Background Compaction with Zero LLM Invocations on Threshold Exceedance
dsh-compaction-tower is a DSH memory-class plugin maintained by AfeyGu. A background observer distills early history into log-only "blocks"; when usage crosses a trigger threshold, a checkpoint replaces the surface layer in whole-block units with zero LLM calls. The article covers the distinction between blocks and checkpoints, profile-based installation (dsh-compaction-tower), the DSH ≥ 0.2.1 requirement, key configuration options, and compaction panel troubleshooting along with decompress/search_context.
Read Moredsh-snapcompact: Compressing Long Sessions with Bitmap Frames Instead of Calling a Summarization Model
Cyberbolt's DSH plugin dsh-snapcompact locally renders the intermediate history of long conversations as PNG frames for visual model consumption. The visual path bypasses the summarization model while preserving head and tail plaintext and a SHA-256 archive; exact strings can be retrieved via snapcompact_recall. The compression chain is snapcompact → shake → soft. Requires DSH ^0.2.2-rc.1 and Node 24+. After installing dsh-snapcompact@0.6.0, select the Standard, PTC, or Cordis variant in a new session. Best suited for long coding debugging workflows and scenarios requiring command-path recovery; not recommended for short sessions or pure text routing. Please review the source code and MIT license before installation.
Read Moredsh-blackhole: Verbatim Original Text Written to Disk for Retrieval During Long-Session Compression
dsh-blackhole is a DSH memory plugin maintained by wx-holmes. When the context reaches a threshold such as eventHorizon, compression is triggered; the displaced body text is written verbatim to archiveRoot and indexed via index.md and index.jsonl. Version 0.3.0 introduces bh_restore_span, block-repository tooling, per-day and per-session thresholds, and a folding cooldown. Installation requires inserting the configuration at the profile layer and placing the plugin directory manually—it is not available as a one-click marketplace command. It is well suited to long-running tasks where retrieving the original text and the rationale behind decisions is essential. Note that the plugin writes to disk with the privileges of the DSH process; please review the source code before use.
Read Moredsh-density-panel: Quality-First Tool Output Compression for DSH
dsh-density-panel (@local/density-panel) is a DSH client plugin maintained by SpiritronPersonality. It performs lossless or low-risk structural compression on tool outputs such as JSON, diffs, and logs. By default, tables, prose, and source code are not compressed. Original text is archived to `~/.density/archive` and retrieved via placeholder markers combined with `density_recall`; `~/.density/windows` records a per-window ledger. It supports modes like shadow/balanced and strategies such as quality/strict/aggressive. The sidebar Chinese "Density" panel and the `GET /density/snapshot` endpoint are observable. Installation is done by writing to the bundle via a local link or cordis patch, and DSH must be restarted after modification. It is released under the MIT License; the plugin runs under the user DSH process permissions, and the source code should be reviewed before enabling.
Read Moredsh-work-memory: Conversation-level Working Memory and seq Original Text Replay
Introduces the DSH memory plugin dsh-work-memory (0.1.0) maintained by metallica360qq-web. The plugin stores each work segment as session/seq pointers and artifact paths, omitting the full content; context compression allows retrieval of the original text from local session logs via memory_search and memory_open. The article covers automatic capture, topic retrieval and injection, bootstrap recording, cross-agent import, Web panel and environment variable configuration, and explains installation sources, permissions, and considerations regarding offline batch processing costs.
Read Moredsh-conductor: Refresh context within the same session and keep long chats within cost
dsh-conductor is a DSH web client plugin maintained by lucagiftzek. It refreshes context within the same session ID using `/new handoff` and provides features including `/rewind`, pin, Ghost, auto-compression levels, failure recovery, and orchestration capabilities. It is integrated into the Conductor sidebar tab. It requires DSH ≥0.2.1-rc.5, dsh-better-sidebar, and a web profile. Based on the official README, this article introduces installation commands, core slash commands, and typical usage, while also explaining plugin permissions and version dependency considerations.
Read Morebale: Perform structured compression on tool outputs before they enter the model context
Bale is a DeepSeek Harness plugin maintained by AQYLPZ. During the `tools/post-execute` phase, it performs structured compression on large-volume tool outputs (such as log, json, diff, search). The original text is stored locally based on hash, allowing the model to retrieve it via `headroom_retrieve`. The system utilizes a dual-process architecture with a Node plugin and a Python sidecar, employing "fail-open" to ensure that compression failures do not block tool execution. Installation requires `npm pack` of a local `.tgz` file, configuration of the Cordis absolute path, and setup of the Python environment, making it suitable for Agent scenarios involving long-running Shell commands and build logs.
Read Moredsh-handover: Long Session Queue Depth, Handover Health Check, and Compression Resume
dsh-handover is a workflow plugin written by MingMaple for DeepSeek Harness, designed to manage context and handover processes in long-running tasks. It features start briefs, handover document inspections, and compression reruns triggered by context water levels and compression counts, alongside four types of session roles: global, project, and miscellaneous. It supports installation via GitHub and npm, and allows for a one-click global workspace deployment on first use. The plugin depends on DSH ctx.compaction, is currently at version 0.9.12, and is licensed under the MIT License.
Read Moredsh-companion-one: Integrating Compression, Memory, and Companionship into a DSH Plugin
Introduces 27Synthesis's open-source dsh-companion-one: Integrates seven-layer memory, context compression, adaptable personality, style learning, and companion behavior within a single DSH plugin. It requires no extra model calls by default and uses node:sqlite for local persistence. It covers runtime requirements, installation and bundle configuration, 13 tools and APIs, memory merging, and security notes, making it easy to set up long-term conversations without stacking multiple plugins.
Read Moredsh-live-compact: Streaming compression, retain prefix cache
dsh-live-compact is a DSH plugin maintained by Tranquillitatis-Lab. It truncates long outputs locally at the end of each conversation turn without invoking the model externally and aims to preserve the content prior to the cutoff in the prefix cache. By default, it begins checking at approximately 20,000 tokens and preserves the original text if a backup fails. It supports installation of dsh-live-compact@1.1.4 in both headless and web profile modes, making it suitable for long sessions with cloud APIs or local models. Please note that the plugin runs with DSH process privileges and the source code is MIT-licensed.
Read Moredsh-ctx-trim: One-click manual compression of session header context
dsh-ctx-trim is a DSH client plugin maintained by AlexSh1ne that adds a "Context" button next to the session title, offering two levels of manual compression: Normal (preserving 30% tokens) and Deep (preserving 10% tokens). The summary is generated locally without invoking the model, with cut points placed at structural boundaries; it guarantees execution only on idle sessions via DSH's public compression transaction and agent.runMaintenance. The article covers installation commands, the two compression levels, summary sources, curl interfaces, security and limitations, compatible versions, and real-world test data.
Read MoreCC Skills: Strategic Compression — Place /compact at Task-Phase Boundaries
The CC skill **strategic-compact** is a development-oriented skill published on SkillHub by Zhiyu Technology (from "Everything Claude Code"). Currently at version 1.0.0, it is located at @org-02qudk26/cc-skill-strategic-compact. This skill addresses the issue of automatic compaction triggering arbitrarily and interrupting tasks in long sessions. It utilizes a **PreToolUse (Edit/Write) Hook** to monitor the actual context usage in real-time. It prompts for manual `/compact` when usage reaches approximately 160k tokens (for a 200k window) or 250k tokens (for a 1M window), followed by reminders every 60k token increase. Tool call counts (default 50) are used only as a weak auxiliary signal. The skill incorporates a phase-switching decision table and a post-compaction survival checklist. It emphasizes writing plans to a file before compaction, noting that in newer versions of Claude Code, the todo tool is removed by default, meaning previous task lists may not survive. Plugin installation requires no configuration; manual installation requires registering `suggest-compact.js` in `~/.claude/settings.json`. It also provides environment variables such as `COMPACT_THRESHOLD`, `COMPACT_CONTEXT_THRESHOLD`, and `ECC_CONTEXT_WINDOW_TOKENS`.
Read MoreToken-Efficient Task Optimization: Adding a Layer of Task Decomposition and Context Compression for Agents
This is a community-published Skill (version 1.0.0, categorized under ai-agent, located at @user_1793b15c/sop-manager) designed for Agent SOP management, task decomposition, and context compression. According to its official description, it integrates the "Generic Agent" methodology for maximizing context information density and offers four core capabilities: task decomposition, minimal toolset selection, a four-level compression pipeline, and three-stage self-evolution. Its objective is to reduce token consumption during long-running tasks. As the provided documentation lacks installation commands and reproducible examples, this article provides only its positioning, feature list, usage paths, and precautions. It also highlights that the compression is not lossless, the self-evolution mechanism lacks third-party verification, and community usage is low. Furthermore, ratings and download counts vary across different sources, so users should refer to real-time page data for accuracy.
Read Moredsh-compact-value: Applying a Compression Threshold Setting to All Agent Modes
The *compaction-basic.thresholdRatio* parameter is defined within the preset `composition` of each Agent. Since built-in presets cannot be modified directly, adjusting the threshold uniformly often requires manually duplicating multiple configurations. The community plugin *dsh-compact-value* (ycm50, version 0.4.0) allows configuration of `thresholdRatio`, `retainRatio`, and source mode lists within the settings. It generates a copy of the *standard-compact-4* class for modes containing *compaction-basic* and optionally sets it as the default session mode. It is compatible with versions 0.1.5-rc.x and 0.1.7+/0.2.0-rc.1. **Installation:** Run `dsh plugin --profile web add github:ycm50/dsh-compact-value`. After restarting `dsh web`, save the configuration in the "Compression Threshold" card.
Read Moredsh-summary-index: Adding indexes, anchor guards, and probes to DSH compressed summaries without managing the compression backend
dsh-summary-index is a DSH workflow plugin (MIT, v0.1.1) maintained by TLNing260310. It does not implement ctx.compaction but listens for compaction/summary, deterministically extracts P0 anchors from raw events, validates "five-part" summaries, runs probes like `pointer` / `event-read`, and also provides `sumidx_search`, `sumidx_read`, and `sumidx_probe`. When an anchor is missing it will quarantine and warn in the pre-step. To install, you may run `dsh plugin add github:TLNing260310/dsh-summary-index` or install from the Release tarball. As this project is an AI assisted alpha / demo, you should review the source code and the permissions it uses before installation.
Read Moredsh-compact-arsenal: Configurable Three-Stage Context Compression
The dsh-compact-arsenal maintained by TacitSay provides three independent modules for DeepSeek Harness: total compression, thinking compression, and tool output compression, each with its own toggles, thresholds, and methods. Changes made in the left-hand "Context Compression" panel are automatically saved. It supports both mechanical truncation and model-based summarization, with all features disabled by default. Configuration can be written to cordis.patch.yml. MIT licensed, Node >=22.19.0, DSH >=0.2.0-rc.2.
Read Moredsh-track: Making Task State Survive DSH Context Compression
**dsh-track** is a DSH memory plugin maintained by Saretheya. The model writes checkpoints via `checkpoint_write`; the plugin stores the data in its directory and re-injects it into the system prompt after every context compaction to prevent established conclusions from being lost during lossy summarization. The article covers four levels of injection strategies, context occupancy reminders, the installation command (`dsh plugin --profile desktop add dsh-track`), as well as usage and limitations regarding `topic/keywords` and `AGENTS.md` discipline.
Read Moredsh-flashback: Using Checkpoints to Let Task State Survive Context Compression
dsh-flashback is a memory plugin developed by Saretheya for DSH 0.2.x: models write checkpoints at milestones via checkpoint_write; the plugin injects a copy into the system prompt and re-injects it after every compaction, with data stored only in the plugin directory. This article introduces four injection strategies, the checkpoint_read/context_status/context_compact tools, context usage reminders across different context windows, and the install command dsh plugin --profile desktop add dsh-flashback; it also covers cross-session topic/keywords, known limitations, and security review points.
Read Moredsh-ctx: Leveraging Checkpoints to Preserve Task State During DSH Context Compression
dsh-ctx is a DSH memory-related plugin maintained by Saretheya: the model writes milestone checkpoints using checkpoint_write; the plugin stores the content in its own directory and re-injects it into the first paragraph of the system prompt after each context compression. It supports four injection strategies, context usage tier alerts, wake-up after compression, and cross-session summary cards. The installation command is `dsh plugin --profile desktop add dsh-ctx`; it requires DSH 0.2.x. Based on the official README, this article introduces its capabilities, usage, and limitations, and does not cover writing workspace files.
Read Moredsh-cairn: Let Task State Survive DSH Context Compaction
dsh-cairn is a DSH memory plugin maintained by Saretheya: the model writes goals, conclusions, and evidence to the plugin's own directory via checkpoint_write, and re-injects checkpoints into the systemPrompt.section after each context compression. It supports four-tier injection strategies, upper/lower document position reminders, and tools such as checkpoint_read and context_status. The installation command is `dsh plugin --profile desktop add dsh-cairn`, requiring DSH 0.2.x. Checkpoints are not written to the workspace; cross-session recall relies on topic and keywords.
Read Moredsh-background-compaction: Background context summarization before threshold, zero-call swap-in for the next turn
Introducing OZONGO's DSH plugin dsh-background-compaction: it generates background summaries before reaching the proportional threshold defined by thresholdTokens, then, in the next turn's pre-step, it submits the checkpoint using the held summaries, thereby avoiding stalls caused by synchronous summarization in dsh-compaction-basic. It covers installation (pnpm and bundle), the /bcompact command, the settings page and config.json, the threshold math, acceptance steps, and the relationship with the native engine fallback.
Read Moredsh-life-hair: Automatically Snapshotting Checkpoint Summaries During Context Compression
dsh-life-hair (Life-Saving Hair) is a memory-oriented DSH plugin maintained by LingDangZaiXiang. When DSH compresses the context, it generates a checkpoint summary and discards earlier details. At the moment compression occurs, this plugin writes the summary verbatim to ~/.dsh/sticky-notes/归档/压缩归档-<时间>.md and can optionally wake the session to add a sticky note. It does not trigger compression and does not change compression settings; minLength and deduplication reduce false triggers. Install with: dsh plugin --profile <profile> add LingDangZaiXiang/dsh-life-hair. Recommended to be used together with Meredith2328/dsh-sticky-note to view archives. MIT-licensed, version 0.1.0.
Read Moredsh-compaction-ctxfold: Zero-LLM, Byte-Reproducible DSH Context Compression Backend
dsh-compaction-ctxfold is a DSH memory-class plugin maintained by HZDF-2026. It replaces only BasicCompactionEngine's summarize(), substituting LLM summarization with a ctxfold rule pipeline to achieve zero-token, millisecond-level, byte-deterministic output, while preserving verbatim facts such as paths, numbers, and commands through Verbatim Anchors. Installation requires running dsh plugin --profile web add and disabling compaction-basic. It is suitable for developers who need auditable and reproducible long-session compaction.
Read Moredsh-compress-bench: Quantized Context Compression via Mirror A/B in DSH
dsh-compress-bench is a local-image A/B measurement tool provided by dingchenhui0618-arch for DeepSeek Harness. It pins the model and temperature inside a read-only fixture sandbox, running once with compression disabled and once with compression enabled. It outputs locally estimated input tokens, turn count, tool success rate, fact coverage, and answer differences, and generates JSON for dsh-compress-bench/report@1 along with a comparison SVG. It is suitable for weighing token savings against trade-offs with reproducible evidence before switching models or compressors. Requires DSH >=0.2.1-rc.2 <0.3.0; install via plugin management from github:dingchenhui0618-arch/dsh-compress-bench or a local build directory.
Read Moredsh-compact-tuner: Tuning Context Compression by Conversation in Composer
This document introduces dsh-compact-tuner, a DSH plugin maintained by YumoFinn. It adjusts the current conversation's thresholdRatio and retainTokens above the input box, without modifying the preset or switching the compaction backend. It supports both a panel and the /compact-ratio command, with overrides stored locally only. It covers the installation command, usage, the decoration method under an isolate preset, and known behaviors such as the pressure-trigger range, retain-amount and threshold constraints, and modelPolicies priority.
Read Moredsh-compact-manager: Dual-Engine Management for DSH Context Compaction
dsh-compact-manager is a DSH workflow plugin that takes over manual and automatic context compression, providing two engines: model summarization and mechanical folding. The model path supports rescue/direct and dual-backup model fallback; the folding is based on dsh-ledger-compact, operates without network access, consumes no tokens, and is consistent with the official compaction transaction markers. The article covers the installation command, /fast-compact, the settings page with four tabs, connectivity testing, and coexistence requirements with compaction-basic.
Read Moredsh-ebbing-context: Hierarchical Context Compression, Older Contexts are Coarser, Never Deleted
dsh-ebbing-context is a DSH memory-type plugin maintained by Light-EI that simulates "gradual ebbing": the original text progressively becomes bolder through L1/L2/L3 levels, but the original session log text is never deleted. It provides context_map, compress, and /context-status; the model compresses on its own according to context pressure, with the plugin maintaining zero ledger and only writing session events recognized by the host. Session search must be used to retrieve the original text, and it is recommended to disable the compaction-basic auto-compression. Target host: DSH 0.2.1-rc.3 to 0.2.2-alpha.2. MIT licensed. Current version: 0.1.19.
Read Moredsh-plugin-background-compaction: Reducing DSH context compaction turn freeze from 16 seconds to 7 milliseconds
This article introduces dsh-plugin-background-compaction (v2.0.1), a DSH plugin maintained by Jisiyong-A. It replaces compaction-basic by pre-computing LLM summaries in the background when the threshold reaches the 72% watermark. Upon triggering, it commits directly, reducing compression blocking from 16 seconds to 7 milliseconds in benchmarks, with approximately a 2.2% increase in billable input tokens. The article covers the architecture, installation commands, cordis.patch configuration, differences from pruner/dsh-dcp, fail-open behavior, and usage considerations.
Read Moredsh-memory-tree: Transforming DSH Context Compression into a Hierarchical Memory Tree
The DSH plugin `dsh-memory-tree`, maintained by bgx666, transforms session compression from flat summaries into a layered memory tree. It features node merging, checkpoint root nodes, memory cards, and the ability to drill down into the source text via `explore_memory_tree`. It supports per-session toggles and parameter adjustments on the settings page. The installation target is `github:bgx666/dsh-memory-tree`, requiring DSH >=0.2.1-rc.3 and <0.3.0. This plugin is still under development; please refer to the README and license before use.
Read Moredsh-live-compact: Compact on the Fly While Preserving Prefix Caching
dsh-live-compact is a DSH community plugin maintained by MerkyorLynn. When the context exceeds approximately 20,000 tokens, it performs an in-place spine cut on the just-completed turn without calling the model, retaining the prefix to maintain cache hits and delaying the official 80% major compression. It supports headless mode and web/Desktop preset replacement, though the TUI is currently unavailable. Installation requires the DSH 0.2.0-rc.2 line and Node 22.19+, with the current package version being 1.0.4. The cut original text is stored in `~/.dsh/compaction-spine/shadow`. The README includes evaluation data for 150 questions and 20 WebUniverse questions. MIT licensed.
Read MoreHandoff: Compress Current Dialog into Handover Documentation for Next Agent
handoff is a community-maintained AI-agent classification Skill, located at @user_0b46df4a/mp-handoff, version 1.3.1+r1. It does just one thing: compact the current conversation into a handoff document, enabling another agent to directly take over, thereby avoiding the cost of redundantly explaining context and the risk of information distortion in multi-Agent collaboration. This Skill does not require an API Key (requires_api_key=false). This article introduces its functional positioning, installation and activation methods (the official page fetch failed, no installation command was provided in the materials, and none was fabricated), and typical usage patterns (described only based on the official introduction). It also outlines applicable scenarios and considerations: the quality of the handoff document depends on the compaction step, the document fields have not been officially documented, the community usage scale is limited (0 installations, 1,261 downloads), and it is recommended to inspect the generated document before first use.
Read MoreTask Anchor: Attach a Task Bookmark to an Agent Session
The "Task Anchor" was published on SkillHub by community developer user_f9be8d90. It is categorized under AI Agent, version 1.1.3, with a community source. It addresses issues regarding context compression, as well as task goal and execution drift caused by the accidental closure of task windows. The core concept involves creating task goals and nodes within the project directory. Mimicking the habit of using bookmarks while reading, it utilizes keywords for positioning, allowing users to review their objectives, current goals, and completed progress at any time. This article introduces its core features, loading methods, typical usage scenarios, and cross-session limitations.
Read Moredocroom: Context Compression Skill in Document-Intensive Office Tasks
Docroom is a community-released Agent Skill (Coordinates: @user_9c50a897/docroom, Version 4.0.0, Category: office-efficiency) designed for file-intensive office tasks. When bulky, highly repetitive, or structured tool outputs arise from a large volume of Office documents, HTML, and image references, it leverages the official Headroom runtime to perform local Headroom-like MCP compression. Combined with native SmartCrusher, CCR back-checking, token metering, and content classification, it effectively reduces context consumption. Unlike standard compression, it additionally provides fidelity protection and quality gates covering six object categories: Office files, HTML, images, citations, source facts, and sensitive materials, thereby preventing the compression from altering attributions or key facts. It requires no API key. This article details only verified capabilities and integration information, explicitly marks unverified installation commands and configuration items, and outlines the typical workflow—comprising compression, metering, classification, back-checking, and quality gating—based on the official description.
Read Moredsh-compact-threshold: Adjust context compression threshold in real-time next to the Composer input
Introduces the community plugin dsh-compact-threshold: a slider next to the DeepSeek Harness Composer input box sets the 20%–80% auto-compaction threshold in real time, writing to the thresholdRatio of the running BasicCompactionEngine without modifying the profile or restarting. Covers installation (Desktop plugin_manager and CLI v1.0.0 tarball), panel usage, trigger line calculation, idle immediate compactNow, and privacy boundaries under the MIT license. Requires DSH >= 0.2.1-rc.2 and Web Client.
Read Moredsh-compaction-fit: Running DSH Context Compaction on a Local OpenAI-Compatible Gateway
dsh-compaction-fit is a DSH middleware maintained by warter666 that mounts only `llm/stream`. It addresses the issue where compaction summaries on OpenAI-compatible gateways are frequently rejected by upstream servers due to token underestimation and inaccurate window declarations. It provides CJK-aware trimming, retries via shrinkRatio adjustment, and correction of false-positive silent overflow detections in pi-ai. To install, run `dsh plugin --profile web add dsh-compaction-fit`; the bundle automatically integrates `cordis.patch.yml`. It supports budgets pin, is MIT-licensed, and has been tested with Node ^22.19.0 and DSH 0.2.1-rc.2.
Read Moredsh-compaction-selector: Selecting Compaction Model and On-Demand Compaction Count for DSH
dsh-compaction-selector adds a "Settings → Compression Model Selection" option to DeepSeek Harness 0.2.1-rc.3 Standard Mode. It allows users to select a summary model from the configured model catalog or set it to Auto to follow the conversation, as well as configure additional on-demand compression counts (default is 1, where 0 indicates compression only on the first time). Settings are saved instantly, and the engine inherits from BasicCompactionEngine. Installation: github:Tests4gptplay/dsh-compaction-selector#v1.0.3. Maintainer: Tests4gptplay. License: MIT.
Read Moredsh-context-summarizer: One-click Summarization of Long Conversation Context in DSH
Introducing the DSH plugin dsh-context-summarizer maintained by Sun-0306: One-click execution of context summarization equivalent to /compact in the dialog box and sidebar, freeing up tokens and persisting the summaries. Covers dual-entry usage, plugin_manager installation, compaction parsing order within presets, security boundaries, and frequently asked questions. Targets the @deepseek-ai/dsh 0.2.1 Web client, MIT licensed.
Read Moredsh-compact-receipt: Are Your Requests Intact After Compression?
dsh-compact-receipt (cty-09, 0.4.0-beta.1) generates receipts after each context compaction in DeepSeek Harness, auditing via zero-model-cost string comparison whether user constraints, decisions, and acceptance-class commitments still appear in the summary. When potential loss is detected, it inserts cards into the conversation and defaults to blocking file writes that conflict with recorded constraints. Default installation does not alter compaction behavior; the experimental compaction takeover is unverified and disabled by default. Installation: dsh plugin --profile web add github:cty-09/dsh-compact-receipt; after restart, commands such as /contract are available.
Read MoreTiered Compaction: DSH Hierarchical Context Compression
Introducing the DSH community plugin tiered-compaction: it replaces the default single-pass LLM summarization with a four-stage pipeline—lossless folding, disk flush, soft pressure, and lossy summarization. Covers install commands (per desktop/web/headless/tui profile), optional configuration, log-based health checks, and known limitations. The plugin is MIT-licensed and, after installation and restart, takes over the compaction service slot immediately.
Read Moredsh-overflow-fallback: The Last Resort for Context Overflow
In DeepSeek Harness, when built-in compression fails after a context overflow, the session repeatedly throws errors. dsh-overflow-fallback hooks into the agent/request-error waterfall: after existing strategies abandon the request, it automatically performs one additional compression and retries; if that still fails, it consolidates the original session into a handover package to continue in a new session. Zero-dependency, headless, and suitable for deployment across various DSH environments.
Read MoreDeepSeek Harness Context Slimming Plugin: dsh-think-strip
By stripping historical reasoning blocks and excessively large tool outputs, then archiving them to disk while retaining an index, dsh-think-strip enables DeepSeek Harness sessions to sustain hundreds of conversation turns without exhausting the context budget, while also saving redundant computation.
Read Moredsh-memory-watch: Persist Memory Before Context Compaction
The DSH plugin prompts the session to persist important content before context compaction. It employs deterministic rolling compression to move old sections to an archive directory, leaving a summary line in their place. It operates without model calls via pure string processing and relies on the host's token-meter or sessionProjections.
Read Moredsh-notes-context: Replacing LLM Summarization-based Context Compression with Persistent Notebooks
This article introduces *dsh-notes-context*, a DSH plugin maintained by sqzw-x. It replaces built-in LLM summary compression with a model-maintained persistent notebook (`context_notes`), writing fixed transition text and full note contents during scrolling. The plugin supports reading back original text from `context_history` by sequence number (`seq`) and features configurable thresholds and reminders. It includes npm/GitHub installation commands, configuration examples, and usage limitations.
Read Moredsh-compact-focus: Adding Specifiable Summary Focus for /compact
The built-in DSH `/compact` command does not accept arguments, resulting in fixed trade-offs for summarization. Under the "standard" preset, `dsh-compact-focus` replaces the official compaction backend and command to support `/compact <focus>`. Without altering compaction transactions or automatic compaction behavior, this allows single summaries to prioritize content specified by the user, while aligning the session summary model with the currently selected model. The article covers installation (install.ps1), usage, self-checks, and known limitations.
Read Moredsh-compaction-codex: Replacing LLM Summarization-Based Context Compression with Deterministic Pointer Templates
`dsh-compaction-codex` extends the official `BasicCompactionEngine` by overriding only the `summarize()` method. It replaces LLM summarization with a deterministic pointer template (comprising archive declarations, history/notes recovery guidance, checkpoint notes, and start/end anchors), with transcripts displaying `provider: template`. Shadowing, threshold triggering, and `/compact` retain standard `basic` behavior. Deployment requires a source build and substituting `compaction-basic` with `compaction-codex` in presets; this takes effect only for new sessions. Configuration can be reverted by switching back to `basic` or rolling back to the `.bak` file.
Read MoreTokenLite Secure Context Compression Strategy: Preserving Searchable Original Text While Controlling Tokens
TokenLite (@user_a72d54a9/tokenlite, v4.0.1) is an AI-agent Skill within the SkillHub community, designed for the secure compression of large logs, JSON arrays, search results, and repetitive text. It does not process source code or user input; short stack traces are preserved verbatim. It enables grep, line-range, and JSON-path retrieval through sense/compress and local CCR. Installation is performed via `skillhub install` specifying the Agent's skills directory; the optional SessionStart Hook requires explicit user approval.
Read Moredsh-context-archive: The model determines which tool results leave the context
dsh-context-archive is a DSH memory plugin maintained by kingofpowers. Long tool results are automatically assigned an inline number consisting of the first 8 characters of their sha256 hash. The model uses `context_archive` to archive already-read outputs into the current session's `~/.dsh/sessions/.../archives/` directory, preserving recoverable stubs in the context. It supports runtime JSON and profile configuration, sidebar statistics, and recommended thresholds. The installation command is `dsh plugin --profile web add dsh-context-archive`.
Read MoreHeadroom Wrap: Integrating LLM Context Compression into Agents
Headroom Wrap (@user_922b1001/headroom-wrap, v1.0.0) is a SkillHub community Skill that provides Headroom-based context compression capabilities to agents such as Cursor and Claude Code via SKILL.md. This article outlines its positioning and metadata (e.g., requires_api_key=false), provides instructions for `skillhub install` and configuring skills directories for various clients, and reproduces the Python/TypeScript compress, proxy, and MCP examples from the upstream README. It is suitable for scenarios involving long conversations and the expansion of tool outputs. As actual compression requires a local installation of headroom-ai, please refer to the official documentation and run your own tests for compression ratios and limits.
Read Moredsh-fold-context: Recoverable context release and predictable DSH compression
The DSH plugin dsh-fold-context (0.2.3, targeting DSH 0.2.0-rc.2), maintained by HumXC, provides stable numbering for long-running tasks, in-place resumable release of tool results and attachments, dynamic reminders, and official summary scheduling, along with native context_* Web tool cards. The article describes the installation command, the steps to replace the compaction engine in a preset compaction group, and typical usage such as context_release and context_expand, along with applicable notes and considerations.
Read Moredsh-faster-compress: Background Context Summary Preparation to Reduce Compression Latency in Long Conversations
dsh-faster-compress is a background context compression plugin for DeepSeek Harness developed by GallenShao. It generates summaries in the background once a preparation threshold is reached; the main task continues within a safety margin, and the context is replaced before the next model request. In case of failure, it falls back to native compression and the /compact command. It supports viewing compression history—including summaries, duration, and token usage—and does not require an API Key by default. The package name is dsh-faster-compress, requiring Node.js ≥22.19. It has been verified on DSH 0.2.0/0.2.1-rc.2. Licensed under MIT.
Read Moredsh-auto-compact: Automatically compact DSH session history by threshold when idle
dsh-auto-compact is a DSH community memory plugin: when the session agent is idle, context usage exceeds a configurable threshold (default 30%), and silence has persisted for a set duration (default 3 minutes), it invokes the official /compact pipeline in the background to compact history. This article explains its complementary relationship with the built-in 80% in-turn compaction, inspection judgment conditions, tgz/link installation methods, config fields and via channels, as well as the /autocompact command and heartbeat file. Before installation, please verify the MIT source code and process permissions.
Read Moredsh-curate: DSH Context Workbench for Manual Selection, Message Editing, and Range-based Compression
## Input Information dsh-curate is a DeepSeek Harness community plugin that provides human-led context curation. It allows browsing sessions by turn and rewriting user, assistant, tool, and injected messages in-place without calling a model. It compresses the scope using importance markers (Important/General/Minor) and then writes summaries based on the curation results, calls the official /compact, or uses other models. It backs up data locally in JSON before every write. It requires Node.js≥22 and DSH 0.2.1-rc.x. To install: `dsh plugin --profile web add github:111222cjyq/dsh-curate`, restart `dsh web`, and hard refresh.
Read Moredsh-compact-relay: Context Consumption and Compression Relay Adjacent to the Input Box
dsh-compact-relay, maintained by cfanzx and targeting DSH 0.2.x, provides a 28px circular indicator next to the input box, displaying context usage and compression evaluation status in real time. It supports preview-confirmed compression (/bc), nine-segment session handoff (/handoff), key message pinning (/pin), and configurable compression thresholds alongside native auto-compression toggles. Install via `dsh plugin --profile desktop add dsh-compact-relay`. Version 0.3.3, MIT licensed, with status and handoff documents stored purely locally.
Read MoreHermes Self-Evolving Collaboration System: Multi-Agent Collaboration and Skill Consolidation via Native Tools
The Hermes Self-Evolution Collaboration System (@user_b2d76d7e/hermes-evolution-plus) is an AI-agent category Skill on SkillHub. It integrates P0-P6 behavioral disciplines, PM protocols, task state machines, learning closed loops, skill accumulation, self-correction, and context reduction with Hermes' native tools (delegate_task, memory, skill_manage, todo). It also includes Python/Node scripts for 4-level compression and signal detection. Based on the official documentation, this article outlines the boundaries of capabilities, SkillHub installation commands, and typical workflows. Additionally, it explains the publisher's self-reported comparisons regarding token usage, speed, and cost against native Hermes, as well as notes on applicability.
Read Moredsh-compaction-policy: Giving You Control Over DSH Context Compaction Triggers
DSH often triggers conversation compaction prematurely (before the 80% threshold) on small context window models due to a fixed 65536-token safety margin. Maintained by zyd232, dsh-compaction-policy dynamically adjusts the compaction trigger line at runtime. It supports configuring the Trigger ratio and Output reserve per provider/model without modifying preset files. This solution is suitable for local and small-window models; it only alters when compaction occurs, while the summarization strategy remains determined by DSH. A DSH restart is required after installation, and configuration is done via Settings. Verified with DSH 0.2.1-rc.2.
Read Moredsh-context-continuum: Replacing Rolling Narrative Summaries with Append-Only Conversation Indexes
dsh-context-continuum (@local/dsh-context-continuum), maintained by zongyanbai, subclasses BasicCompactionEngine in DeepSeek Harness, overriding only summarize(). It replaces the official rolling narrative summary with an append-only session index and provides context_anchors, context_read, and context_compact. Installation requires three-layer cordis/profile wiring and selecting the continuum preset during session selection. Three tested defects are known, and fixes are requested; please read DEFECTS.md and the source code before use.
Read Moredsh-bite (Hook Bite): Automatic Recovery of Pinned Critical Rounds After Compression
dsh-bite is a DeepSeek Harness client plugin that pins selected user queries and assistant responses as complete turns. After context compression clears the original text, it automatically retrieves and re-injects this content prior to the next model request, marking it as historical background. It supports a Web UI pin button, a "Fat Fish" preying animation, and the /pin, /pins, and /unpin slash commands. By default, it preserves the full original text, supports a maximum of 12 pins per session, and stores data in $DSH_HOME/storages/dsh-bite/. You can install version v0.1.1 directly via codeload; no mandatory configuration is required, though optional settings include maxPins, maxPinChars, and storageDir.
Read Moredsh-compaction-fidelity: Adding a Context Compression Fidelity Layer for DSH Long Sessions
dsh-compaction-fidelity is a DSH memory-class plugin (v0.3.1, MIT) maintained by TLNing260310, providing a bilingual compaction backend for the 0.2.0-rc.2 runtime: a default 350K compression line, cross-language fidelity fingerprinting and compensation, and the `.dsh/compaction-fidelity` project index with architecture anchor back-references. Based on the SkillHub catalog and the synced README, the article describes the installation commands, core commands, and applicable boundaries; the plugin runs with the dsh process's permissions, and the source code and bundle patch should be reviewed before installation.
Read Moredsh-plugin-local-prompt-bridge: Precise Token Accounting and Context Overflow Compression Retry
The community DSH plugin local-prompt-bridge, without modifying the @deepseek-ai package, rewrites context overflow 400 errors into CONTEXT_WINDOW_EXCEEDED to trigger the official compaction-basic; after configuring routes, it performs /tokenize-based accurate pre-estimation against the local OpenAI-compatible service, proactively compacting and retrying when the threshold is exceeded. Based on the README, this article describes the pnpm installation of the web profile, bundles registration, and cordis.patch.yml configuration, and provides self-testing and usage notes.
Read Moredsh-context-control: DSH Context Usage Ring and Recoverable Compression
dsh-context-control is a community memory plugin designed for DSH 0.2.0-rc.2. It displays a context usage ring next to the model selector and supports configurable auto-compression thresholds ranging from 10,000 to 5,000,000 characters, along with manual compression and safety margin queueing. It also retains paginated original conversations and structured summaries for retrospective review. Installation requires using the .tgz file from Releases and the official dsh plugin command; when coexisting with plugins like billion-context, independent profile verification is necessary. Please note that summaries are lossy and incur API costs, and the plugin operates with the permissions of the DSH process.
Read MoreDSH-Lossless-Context: Traceable DSH Context Compression and Retrieval
Kerberos255's dsh-lossless-context provides hierarchical context compression and retrieval backends for DeepSeek Harness. It adheres to native compaction transactions without deleting source session logs; organizes bounded event groups into traceable DAG summaries and a local SQLite index, and supports search, describe, and expand operations via the session tool lcm_recall. After installation, enable it in Settings → Plugins → Lossless Context and select dsh-lossless-context/agent as the preset. Features include idle and stress-based compression, model-adaptive budgets, optional DM rotation post-Dream & Memory, and MIT licensing.
Read Moredsh-context-manager: Reviewable Conversation Context Compression
dsh-context-manager (SkanderBog, v0.2.0) provides a Context panel and a /context-manager command for DeepSeek Harness 0.2.0-rc.2+, allowing users to view local context and usage breakdown, choose Keep, Summarize, or Omit for history groupings, and supports decision notes and preview before Apply. This article, based on the official README, covers installation (Release tgz and dsh plugin add), ACP status reading, history compression, and permission considerations, helping developers with long sessions manually review their context.
Read Moredsh-context-pilot: Long-Session Context Usage Visibility, with Compression and Reasoning Control Delegated to the Model
dsh-context-pilot is a DSH host plugin maintained by Shuffle-1992 (panel name "Context Intelligent Compression"), designed to address window pressure in long Agent sessions: it injects context usage each turn, allowing the model to autonomously decide whether to compress and automatically continue via tools along an intelligent compression line, while a forced compression line executes unconditionally at pre-step; compression is applied before the next step, without interrupting the current turn or fabricating user messages. An optional intelligent thinking feature exposes thinking intensity levels to the Agent and allows tools to switch levels. The installation command is `dsh plugin --profile web add github:Shuffle-1992/dsh-context-pilot`; a DSH restart is required, and there is no npm package. Current version v0.1.61, MIT licensed.
Read Moredsh-handoff-compaction: DSH Context Compression and Task Handoff Plugin
`dsh-handoff-compaction` is a DSH plugin designed to resolve overflow issues in small-context models caused by excessively long conversation histories. It converts older conversations into a structured `# Context Handoff`, retains recent messages, and utilizes SQLite history tools to retrieve complete records. The plugin supports Web interface configuration, cache-friendly compression, and can be manually triggered via the `/compact` command. Upon installation, it globally replaces the relevant logic, ensuring data retrievability and compatibility with DSH versions 0.1.x and 0.2.x.
Read Moredsh-super-memory: Cross-Compression Memory Plugin
dsh-super-memory is a DeepSeek Harness cross-compression memory plugin. It solves the problem of models forgetting old conclusions after ultra-long session compression. Core features include automatic storage during compression, retrieval of relevant content via BM25 and injection into context, as well as support for local retrieval and optional large model assistance. The plugin is limited to single-session use, does not rely on external services, and is open-sourced under the MIT license.
Read MoreHeadroom Token Compression Assistant: Integrating HeadRoom Context Compression for Agents
The Headroom Token Compression Assistant is a SkillHub community Skill (@user_922b1001/headroom-token-compress-wrap, version 1.0.1, ai-agent, requiring no Skill-level API Key). It wraps headroom-wrap to guide Agents in utilizing headroom-ai for compressing conversations, tool outputs, and RAG contexts. The article outlines the Skill's positioning, SDK/Proxy/MCP capabilities, installation via skillhub into skills directories such as Cursor, and installing underlying dependencies via pip/npm. Furthermore, it provides examples of compress and proxy operations, along with notes on local execution and practical testing.
Read MoreDeepSeek Harness Plugin: dsh-headroom
"dsh-headroom" is a local proxy plugin designed for DeepSeek Harness (DSH), aimed at addressing the token consumption issues arising from oversized context windows in agent development in 2026. By managing a local Python service, this plugin automatically compresses conversation history and large tool outputs, while supporting on-demand retrieval of the original text after compression. Installation requires installing the npm package and registering it in the configuration file, with model files automatically downloaded upon the first run. Core features include history compression, tool output compression, retrieval tools, and configuration management. The plugin supports flexible configuration via conversational commands or YAML files, provides both lossless and lossy compression modes, significantly reduces token consumption, and ensures performance is never inferior to that without the plugin installed.
Read Moredsh-plan-compact-execute: Compacts context and executes plan in plan mode
The `dsh-plan-compact-execute` plugin addresses the context-window footprint issue in DSH plan mode. It adds a "Execute after compaction" option to the approval card, allowing the history to be compacted into a summary before approval while verbatim preserving the plan body and unfinished tool batches. Installation requires Node.js 24 and the required DSH version. Clicking the button compacts the history and carries the retained plan content into the execution phase.
Read MoreToken Saver: Compress context before Agent conversations to save Tokens
The SkillHub community skill "Token Saver Assistant" (@user_29dc410e/token-saver-qclaw, v1.0.1, ai-agent) targets long conversations and large code paste scenarios. It automatically compresses user input, code snippets, and conversation content. The developers claim it can save approximately 20%–70% of tokens without requiring an API key. This article outlines its positioning and verified features, as well as the installation steps and usage notes for adding it to skills directories such as Cursor and Claude Code via the skillhub CLI or AI prompts.
Read Morecontext-compression: Context Compression and Token Optimization for Long-Session Agents
context-compression, from Agent-Skills-for-Context-Engineering, focuses on context compression and handoff summaries for ultra-long conversations. The article sets the optimization target as tokens-per-task, introduces three paths—anchored iterative summarization, opaque compression, and full-summary regeneration—emphasizes artifact trails and mandatory sectioned summaries, and provides trigger strategies, probe-based evaluation methods, and common enablement pathways such as Claude Code and npx skills.
Read Moredsh-quilt-compact: DeepSeek Harness Context Compression Plugin
The DeepSeek Harness plugin `dsh-quilt-compact` is designed to compress conversations using “chunk-wise summarization followed by merging” with a specified model, in order to reduce Token costs or handle short context windows. It takes over the default `ctx.compaction` backend, while its workflow includes preprocessing, chunking, summarization, merging, and writing checkpoints. During installation, `compaction-basic` must be disabled. The configuration supports model pools, merge windows, chunk ratios, and preprocessing options. The plugin supports DSH versions between 0.1.7-alpha.2 and 0.3.0-rc.1 and provides an optional execution logging feature. If the model pool fails, a fallback mechanism is enabled.
Read Moredsh-context-compressor: DeepSeek Harness Context Compression Control
`dsh-context-compressor` is an external plugin for DeepSeek Harness that provides flexible control over the context window. It supports setting an absolute token limit or triggering automatic compression based on a context window ratio, and includes a dedicated settings page plus tool result pruning. Installation requires meeting the environment requirements; it can be installed via the official command or a local link (local installation requires `pnpm install`), and a refresh is needed after installation to take effect. During use, the status can be checked via the API. Note that token counts are estimates only, ratio mode relies on the model's declared values, and modifying the source code requires restarting the application.
Read Moredsh-plugin-jev-compaction: Context Compaction Based on Relevance Scoring
By default, DeepSeek Harness manages context in chronological order, which often causes critical constraints or error messages to be mistakenly removed. The `dsh-plugin-jev-compaction` plugin addresses this issue by introducing a Jev relevance scoring mechanism that prioritizes high-value messages and supports protecting specific information via regex patterns. It provides configurable byte budgets, graceful degradation, credential logging, and CLI/programmatic interfaces, ensuring that important data is accurately preserved during context overflow. This makes it well suited for long conversations or complex reasoning tasks.
Read Morehighlightpin: DeepSeek Harness Level-3 Source Text Pinning Plugin
The DSH plugin highlightpin allows users to pin key text in long conversations to prevent information loss caused by context compression. It provides a three-level pinning mechanism (pin, resident, and highlight), supports code and mathematical formulas, and can be managed via the CLI or the interface. After installation, DSH must be restarted, and a character limit is configured to ensure that important content is prioritized and retained in the conversation.
Read MoreDeepSeek Harness Plugin: dsh-hypercompact
`dsh-hypercompact` is an open-source plugin for DeepSeek Harness (DSH) designed to address context-limit or transmission-failure issues in long sessions caused by retransmitting the full history with every request. It provides deterministic, zero-LLM-cost, byte-level context compression by locally compressing older history in milliseconds and supports exact verbatim restoration, ensuring a reasonable request body size without information loss. This article details its core features, installation steps (adding the package, creating a preset, and restarting to enable it), and compatibility requirements (DSH `>=0.1.5-rc.2` and `<0.3.0`, Node.js `^22.19.0` or `>=24.0.0`).
Read Moredsh-compact-manager: Hierarchical Compaction Threshold Manager for DeepSeek Harness
dsh-compact-manager is a DeepSeek Harness plugin designed to address premature triggering caused by an overly low default compression threshold. It provides a three-level override strategy spanning global, context-length tier, and model scopes, allowing users to customize the trigger formula (such as a ratio, output reserve, or fixed value). Through the sidebar, the plugin enables real-time viewing and editing of configurations and supports applying presets, primarily for finely controlling the timing of context compression and preventing premature loss of historical information.
Read MoreJev-LCM Compaction Plugin for DeepSeek Harness
Jev-LCM Compaction is an experimental plugin for DeepSeek Harness (DSH), designed to address state budget saturation and text floor growth caused by standalone Jev compression. The plugin introduces a Jev sorting layer before native compression, uses local SQLite archives to losslessly preserve raw evidence, and optimizes retention rates through rolling retention-rate percentile calibration. It supports multiple providers, overflow markers, and rich session debugging tools. Although it offers functional completeness and fallback mechanisms, it is developer preview software only and does not guarantee production-grade parity.
Read Moredsh-clear-mind: Model-Autonomous Context Compression and Checkpoint Management
`dsh-clear-mind` is a memory management plugin for DeepSeek Harness (DSH) designed to address context-window saturation in long conversations. By providing the `mind_map` and `clear_mind` tools, it enables the root agent to autonomously compress conversation history, replacing redundant information with auditable checkpoints. The plugin also supports proactive threshold alerts, generates GUI tombstone records, and runs entirely locally without requiring network access. It can effectively reduce inference costs while preserving session traceability.
Read Moredsh-jev-prune: A DeepSeek Harness Context Compression Plugin Based on Jev Structured Output
The `dsh-jev-prune` plugin provides a two-layer context compression mechanism for DeepSeek Harness (DSH) based on Jev structured output. It replaces the existing size-based truncation and model summarization logic via an interception point, using deterministic code to generate receipts instead of model inference and ensuring that the decision process follows the principle that “the model will not generate what it should not generate.” It includes two functional layers—result pruning and receipt compression—and uses strict gating mechanisms (such as a tool allowlist, freshness checks, and balance checks) to determine compression behavior, thereby freeing context while retaining key results, avoiding hallucinations, and restoring the original text.
Read Moredsh-ctxopt-compaction: DeepSeek Harness Context Compression Plugin
`dsh-ctxopt-compaction` is a context compaction plugin for DeepSeek Harness, designed to resolve long conversation overflow issues. It offers benefit evaluation, summary caching, explicit memory control, and diagnostic information retention, and requires host-side dependency support. Its configuration enables fine-grained control over the compaction window, cache size, and tool output trimming strategy, while allowing users to manage memories and to-do items via commands.
Read Moredsh-plugin-om: DSH Plugin
The DSH plugin `dsh-plugin-om` is designed to solve context-window overflow issues in long conversations. Maintained by FanetheDivine, it supports automatic compression of the main session history, summary generation, and preservation of the source text for tools and skills. It provides recall by message index (`recall`) and local semantic retrieval (`recall-semantic`), and logs details of the compression process. The plugin requires DSH 0.2.0-rc.2 or higher. If installation fails with pnpm 11, build permissions must be configured. In the configuration, `observeThresholdTokens` controls the compression frequency, while `tailMessageCount` determines the number of messages to retain. The plugin supports hot updates and allows compression results and errors to be viewed in the browser, making it suitable for scenarios that require efficient management of long conversations.
Read Moredsh-auto-compact: Enhanced Auto-Compact Defaults for DeepSeek Harness Agent Presets
`dsh-auto-compact` is a “workflow” category plugin for DeepSeek Harness (DSH), designed to optimize the default context-window auto-compaction configuration when agent presets are running. Maintained by developer `songoao25`, it improves context resource management efficiency by adjusting compaction strategies. The official documentation does not provide a ready-made installation command, so installation guidance must be obtained from the repository. When using the plugin, run it with the current process permissions and review the source code and license to ensure compliance.
Read Moredsh-idle-compactor: An Idle-Triggered Context Compression Plugin
The `dsh-idle-compactor` plugin adds a time- and state-based context compaction mechanism to DeepSeek Harness. It triggers compaction when a session has remained idle for an extended period and exceeds the token threshold, avoiding costs for stale context tails. The plugin supports configurable idle time, context size, and scan interval, and handles background tasks and archived sessions, effectively addressing context bloat in long conversations.
Read Moredsh-compactor: A Context Compression Plugin for DeepSeek Harness
The DeepSeek Harness plugin `dsh-compactor` is designed to address context bloat and infinite-loop issues in long conversations. It employs a three-tier processing mechanism (real-time pruning, batch summarization, and archive restoration) and offers two modes: API-based summarization and local rule-based compression. The plugin supports semantic understanding, data rollback, and infinite-loop detection, and requires user confirmation before compression is executed to balance context length with information retention.
Read Moredsh-compaction-micro: The Micro-Cleanup Layer for DeepSeek Harness
`dsh-compaction-micro` is a standalone plugin for DeepSeek Harness (DSH), designed to quickly free up token space before the official summarization layer by replacing rerunnable tool results on the whitelist with placeholders, thereby avoiding unnecessary and costly model calls. It follows the observer pattern and triggers cleanup only when context pressure exceeds a threshold or an overflow occurs. It supports configuring the cleanup tool whitelist, the number of recent results to retain, and the trigger ratio. After installation, it must be mounted before `dsh-compaction-basic` and applies only to safe, read-only tools.
Read Moredsh-squeeze-command: On-Demand Context Compression for DeepSeek Harness
`dsh-squeeze-command` is a plugin for DeepSeek Harness (DSH) designed to address the soaring input token costs caused by excessively long conversations. It uses a manually triggered mechanism, allowing the conversational model to select the compression scope and employing a cheap, high-speed model to generate summaries, thereby effectively controlling the token budget while preserving the original logs. The tool features no discarded content, resistance to post-compression perplexity, and refusal to run during agent turns. During installation, the token budget and a flash-tier summarization model must be configured. Through commands such as `/squeeze`, users can flexibly adjust the context size or check the compression status, making it a practical tool for long-running, cost-sensitive scenarios.
Read Moredsh-context-compression-improved: Context Compression and Code Skeleton Compression Plugin for DeepSeek Harness
The `dsh-context-compression-improved` plugin in DeepSeek Harness addresses context bloat in agent tasks through mechanisms such as pre-compression, aggregate replacement, and history compaction. Its core new feature, the Code Skeleton Gate, substantially reduces oversized source-code tool results by retaining only declarations and key lines, significantly improving inference efficiency. The plugin supports multiple strategies, including Fresh and Aggregate, is compatible only with DeepSeek models, and requires manual enabling of code skeleton compression in the settings.
Read MoreDeepSeek Harness Plugin: Context Compression Fix for qwen3.8-27b
The DeepSeek Harness (DSH) plugin fixes an issue where the qwen3.8-27b model running on the NInfer engine exhausts its output tokens due to the default high reasoning level, causing context compression and title generation to be truncated. By disabling the thinking mode, applying recommended sampling parameters, increasing the output token limit, and constraining the reasoning intensity, the plugin ensures that the compression feature operates properly. After installation, restart the `dsh web` process and exactly match the model ID in the configuration file for the plugin to take effect.
Read Moredsh-brain-compaction — Context Compaction Coordination Plugin
`dsh-brain-compaction` is a composite plugin for DeepSeek Harness (DSH), designed to address the large context usage and high token consumption in long-running tasks. By integrating multiple community plugins such as `dsh-argp`, `dsh-memory-vault`, and `dsh-mcp-lens`, it provides unified configuration, intelligent routing (We-Need), and cross-session memory management. Users need to install it in the DSH 0.1.5 environment using the `file:` or `github:` protocol, and be aware that `dsh-compaction-instant` is currently unavailable and some local dependency requirements apply. This plugin offers developers a fine-grained token-usage control solution for handling complex long-running tasks.
Read MoreDeepSeek Harness Context Compression Plugin: dsh-plugin-context-compressor
`dsh-plugin-context-compressor` is a context management plugin for DeepSeek Harness, designed to address high token consumption and truncation issues in long conversations. It intelligently filters and retains key decisions, errors, and preferences, removes redundant or failed records, and summarizes the remaining content in a structured format. Users can trigger compression with specific commands, reducing costs while improving the agent's reasoning efficiency.
Read Moredsh-compact: DeepSeek Harness Context Compression and Overflow Recovery Plugin
`dsh-compact` is a context management plugin for DeepSeek Harness, designed to address context overflow caused by long conversations or frequent tool calls. It automatically compresses historical messages, provides manual compression controls, and includes an overflow recovery mechanism: when context usage reaches 75%, it automatically generates summaries to replace older content, and it attempts retries when an overflow error occurs. The plugin supports basic mounting and Agent-level mounting, offering flexible configuration strategies to effectively maintain coherence in long conversations.
Read MoreDeepSeek Harness Compaction UI: Visual Configuration Plugin for Context Compaction
`deepseek-harness-compaction-ui` is a visual configuration plugin for DeepSeek Harness, designed to simplify context window management. It replaces complex YAML editing with a Web interface, supports configuring compaction trigger thresholds and recent-content retention based on token count or percentage, and features automatic conversion, hot reloading, and independent policy management. The plugin does not handle core compaction logic; it is responsible only for displaying, converting, and validating configurations. Users should note that it does not resolve issues where a single message exceeds limits or system prompts consume too much context, and that critical state should be stored externally.
Read Moredsh-plugin-anti-rot: DeepSeek Harness plugin for compressing tool error payloads
The DeepSeek Harness (DSH) plugin mitigates “context rot” in long sessions by compressing verbose tool error stack traces. In the `tools/post-execute` phase, it identifies failure signals (`isError` or a non-zero exit code), truncates error text to a specified number of lines and removes indented stack lines, while preserving a truncation marker. After installation, it must be enabled in the configuration file with a positive integer `maxLines` parameter. The tool effectively reduces noise and saves context budget, leaving successful calls unchanged.
Read Moredsh-compaction-pro: DeepSeek Harness High-Fidelity Context Compression Backend
The default compaction mechanism in DeepSeek Harness (DSH), `dsh-compaction-basic`, suffers from issues such as losing exact values and forcing English output. `dsh-compaction-pro` is an upgraded plugin that rewrites the summarization hook to achieve high-fidelity, bilingual, and recursive compaction. It enforces the preservation of numeric values, paths, and commands, supports Chinese summaries, and requires no changes to the original policy. Installation requires disabling the built-in backend and registering the plugin in the configuration file. This plugin is suitable for long sessions and can effectively address information loss and language fragmentation issues.
Read Moredsh-premise-guard-cn: A Context-Premise Loss Prevention Plugin for Chinese Novel Writing
`dsh-premise-guard-cn` is a Chinese-optimized version of the `ICCuse/dsh-premise-guard` plugin, designed to address the loss of critical premises caused by long-context compression in DeepSeek Harness. It includes built-in automatic anchor-extraction rules for Chinese (such as Chinese quotation marks, terminology chains, and paths), supports manually maintaining an anchor list, and provides the `premise_anchor` tool and `/anchor` command for management. After context compression, the plugin automatically detects and injects warnings, prompting the model to verify any lost settings and effectively preventing logical collapse in long-form Chinese creative writing.
Read Moredsh-arc-context: DeepSeek Harness Reversible Context Compression Plugin
# Introduction For developers of agents running long sessions, a critical issue arises when the context approaches the window limit: compression is mandatory. The Basic compression built into dsh relies on an irreversible model summarization approach, which is lossy and irreversible. In scenarios such as code engineering that depend on precise facts, losing a single constraint can cause subsequent changes to diverge. dsh's philosophy is that "everything is a plugin," meaning compression strategies are replaceable. dsh-arc-context takes a different approach: before compression, it first stores the original text completely in a local append-only log, allowing compressed blocks within the context to be restored character-by-character at any time. Below is an introduction to its implementation, installation, and real-world test data. # What is it dsh-arc-context (ARC = Adaptive Revers...
Read Moredsh-asc: A DeepSeek Harness Plugin That Lets the Model Decide Context Compression
# Introduction Long conversations are an inevitable challenge in agent development: with multi-round tool calls and a large accumulation of intermediate results in the context, the window quickly fills up after a few rounds. The common approach is to set a threshold; upon triggering, the system performs automatic summarization—the model itself has no say in what is discarded or retained, which is entirely determined by external rules. dsh-asc follows a different approach: it allows the model to decide when and what to compress. Every compression is executed as a replacement of events with persistent session logs, making the process replayable, searchable, and reversible. DSH's philosophy is "everything is a plugin," and compression is no exception. Below, we introduce the positioning, operation, installation steps, and considerations for this plugin. # What is it The full name of dsh-asc is DeepSeek Harness Agentic Surface...
Read Moredsh-auto-compact: DSH Session-level Auto Context Compression Plugin
`dsh-auto-compact` is a session-level automatic context compression plugin for DeepSeek Harness (DSH), maintained by JohnathonYe and released under the MIT license. It aims to address the excessive context pressure encountered in long sessions by monitoring session context usage. When usage exceeds a user-defined independent threshold, it automatically performs `compact` compression and injects a summary into the context to seamlessly continue the session, eliminating the need to send a "continue" message throughout the process. The plugin supports threshold adjustment ranging from 1% to 90% (default: 50%) and persists settings based on `sessionId`. It coexists with the built-in DSH `compaction-basic` (default threshold: 80%) without interference. Installation requires Node.js ≥ 20 and pnpm ≥ 10.
Read Moredsh-compaction-instant: An Instant Context Compression Plugin for DeepSeek Harness
dsh-compaction-instant is an instant context compression plugin for the DeepSeek Harness environment, designed to replace traditional LLM summarization with deterministic text processing. This plugin avoids model calls or network requests, eliminating additional delays and rewriting risks. By preserving the original tokens and generating seq, result, or checkpoint pointers that link to persistent logs, it achieves near-lossless compression. As a drop-in replacement for dsh-compaction-basic, it maintains the same interface and semantics, offering recall and search tools along with the /recall command to support on-demand restoration of omitted content or searching of persistent logs. This solution is ideal for developers seeking to reduce model call overhead and ensure data recoverability, requiring No
Read MoreBillion-Context-DSH: Empowering Models to Decide When to Compress Context
Billion-context-dsh provides an Active Context Pruning backend for DeepSeek Harness, where the model determines when to compress and restore context through the compress, decompress, search_context, and acp_status functions. Ported from billion-context-pi and reusing acp-kernel, it can be installed via the bundle command: dsh plugin --profile web add billion-context-dsh. Version v0.2.13 (beta) is suitable for long conversation and long task scenarios.
Read MoreUsing dsh-compaction-instant to transform the context compression of DeepSeek Harness into near-lossless compilation
`dsh-compaction-instant` is a DeepSeek Harness session plugin maintained by KitDoesIt, which replaces the built-in summary engine `compaction-basic` with a deterministic compilation method that does not rely on LLMs. This article checks against the catalog page and GitHub README, covering near-lossless checkpoints, seq readback, three installation methods, as well as the compression ratio and precautions on tool-intensive sessions.
Read MoreUse billion-context-dsh to let the model handle the context compression of DeepSeek Harness by itself
billion-context-dsh is a DSH session plugin maintained by Tyan66666 that makes Active Context Pruning a CompactionEngine backend: the model calls compress to write its own summaries, while automatic policies only nudge. The original text stays in the session log and can be decompressed and searched. Based on the directory page, GitHub, and npm v0.2.2, this article verifies the installation command, mounting method, and differences from built-in automatic compaction.
Read More